//
//  HANetworkRequest.h
//  HAFund
//
//  Created by 夏成龙 on 2018/10/30.
//  Copyright © 2018年 夏成龙. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "HARequest.h"

typedef void(^HARequestResponseBlock)(NSURLResponse * _Nonnull response, id  _Nullable responseObject, NSError * _Nullable error);

@interface HANetworkRequest : NSObject

+ (NSURLSessionDataTask *)callRequest:(HARequest *)request callBlock:(HARequestResponseBlock)responseBlock;

@end
